/*
 * @Author: FengTeng
 * @Date: 2021-02-12 10:30:51
 * @LastEditTime: 2021-03-03 18:57:54
 * @LastEditors: FengTeng
 * @Description: Description
 * @FilePath: \spa-manage\src\apis\index.js
 */

const apis = {
  // 客户
  LoginApi: "http://localhost:8080/javase06/LoginServlet",
  getTableDataApi: "http://localhost:8080/javase06/KehuServlet",
  createCustomerApi: "http://localhost:8080/javase06/KehuServlet",
  getUserPermissions: "http://localhost:8080/javase06/KehuServlet",
  getCustomerPoolDetails: "http://localhost:8080/javase06/KehuServlet",

  getProductsTableData: "http://localhost:8080/javase06/ShangpingServlet",

  getMemberDetailData: "http://localhost:8080/javase06/KehuServlet",

  // 画像
  createNewRule: "http://localhost:8080/javase06/HuaxiangServlet",
  getMemberInfoTableDataApi: "http://localhost:8080/javase06/HuaxiangServlet",
  setRuleStatus: "http://localhost:8080/javase06/HuaxiangServlet",
  getCustomerTableData: "http://localhost:8080/javase06/HuaxiangServlet",

  // 商品
  getProductsTable: "http://localhost:8080/javase06/ShangpingServlet",
  setProductStatus: "http://localhost:8080/javase06/ShangpingServlet",
  createNewProduct: "http://localhost:8080/javase06/ShangpingServlet",
  getProductsDirectors: "http://localhost:8080/javase06/ShangpingServlet",

  // 用户
  addNewSystemUser: "http://localhost:8080/javase06/UserServlet",
  updatePasswordApi: "http://localhost:8080/javase06/UserServlet",
  getSystemUser: "http://localhost:8080/javase06/UserServlet",

  // 搜索
  customerPoolSearch: "http://localhost:8080/javase06/KehuServlet",
  customerPoolProductsSearch: "http://localhost:8080/javase06/ShangpingServlet",
  memberManageSearch: "http://localhost:8080/javase06/KehuServlet",
  productsManageSearch: "http://localhost:8080/javase06/ShangpingServlet",

  // 客户升级会员
  setCustomerToMember: "http://localhost:8080/javase06/KehuServlet"

};

export default apis;
